using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace FoodReservationSystem.Web.TicketDetail
{
    public partial class Show : System.Web.UI.Page
    {        
        		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					string id = Request.Params["id"];
					//ShowInfo(TicketDetailID);
				}
			}
		}
		
	private void ShowInfo(int TicketDetailID)
	{
		FoodReservationSystem.BLL.TicketDetail bll=new FoodReservationSystem.BLL.TicketDetail();
		FoodReservationSystem.Model.TicketDetail model=bll.GetModel(TicketDetailID);
		this.lblTicketID.Text=model.TicketID.ToString();
		this.lblConsumerID.Text=model.ConsumerID.ToString();
		this.lblOrderTime.Text=model.OrderTime.ToString();
		this.lblComeTime.Text=model.ComeTime.ToString();
		this.lblTicketStatusID.Text=model.TicketStatusID.ToString();

	}


    }
}
